package com.itxiaoz.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: Teao
 * @CreateTime: 2024-04-24  14:22
 * @Description:
 */
@RestController
@RequestMapping("admin")
@Api(description = "管理员", tags = "AdminController")
public class AdminController {

    @GetMapping("getname")
    @ApiOperation(value = "管理员", notes = "管理员")
    public String admin(){
        return "admin";
    }
}
